import unittest

from model.storage.memoryManager import Block


class BlockCase(unittest.TestCase):
    def testWhenBlockSizeIsZero(self):
        block = Block(0,0,0)
        self.assertEqual(0, block.getSize())
    
    def testWhenBlockSizeIsTen(self):
        block = Block(0,10,0)
        self.assertEqual(10, block.getSize())
        
def main():
    unittest.main()

if __name__ == "__main__":
    main()